<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
    </head>
    <body>
    <div>
        <span th:text="${headerInfo}"></span>
        <br>
    </div>
    <table>
        <caption style="text-align:left">
            <h3>Markets</h3>
        </caption>
        <tr>
            <th>ID</th>
            <th>Name</th>
            <th>SID</th>
            <th>Address</th>
        </tr>
        <tr th:each="user:${users}">
            <td th:text="${user.id}"></td>
            <td th:text="${user.name}"></td>
            <td th:text="${user.sid}"></td>
            <td th:text="${user.address}"></td>
        </tr>
    </table>

    <div>
        <br><br>
        Regards,<br>
        Aries
    </div>
    </body>
<style>
    table{
        border-collapse:collapse;
        border-spacing:0;
        border-left:1px solid #888;
        border-top:1px solid #888;
    }

    th,td{
        border-right:1px solid #888;
        border-bottom:1px solid #888;
        padding:5px 15px;
    }

    th{
        font-weight:bold;
    }
</style>
</html>